Added _1,.._5 to dummy-variables, so that we can specify multiple unused
authoremellor@ewan <emellor@ewan>
Sat, 17 Sep 2005 09:22:42 +0000 (10:22 +0100)
committeremellor@ewan <emellor@ewan>
Sat, 17 Sep 2005 09:22:42 +0000 (10:22 +0100)
parameters in our code.  Removed map and filter from bad-functions - I don't
think that we have any problem with functional programming styles!

Signed-off-by: Ewan Mellor<ewan@xensource.com>
tools/python/pylintrc

index 7d207d1b953ae0c8f2a91e109709fb8a8848842f..efc4b0b3b2dd0054c7de59296069595fbe42e87f 100644 (file)
@@ -74,7 +74,7 @@ enable-variables=yes
 init-import=no
 
 # List of variable names used for dummy variables (i.e. not used).
-dummy-variables=_,dummy
+dummy-variables=_,_1,_2,_3,_4,_5,dummy
 
 
 
@@ -131,7 +131,7 @@ good-names=i,j,k,ex,Run,_
 bad-names=foo,bar,baz,toto,tutu,tata
 
 # List of builtins function names that should not be used, separated by a comma
-bad-functions=map,filter,apply,input
+bad-functions=apply,input